﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="kohvik.aspx.cs" Inherits="Kohvik.kohvik" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register Assembly="GMaps" Namespace="Subgurim.Controles" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ToolkitScriptManager runat="server"></asp:ToolkitScriptManager>
    <div id="container">    
        <asp:PlaceHolder ID="PlaceHolder_name" runat="server"></asp:PlaceHolder>
        <p style="margin-left:20px; font-size:16px;"><asp:Label ID="KohvikuKirjeldus" runat="server"></asp:Label></p>
        <br />
        <p style="margin-left:20px; font-size:16px;"><a href="javascript:toggle('collapsible');" id="showHideLink">Kohviku andmed</a> <img src="images/nool_alla.png" alt="ava andmed" width="15" /></p>
        <div id="collapsible">
            <div id="vasakpoolne">
                <asp:PlaceHolder ID="PlaceHolderCafeInfo" runat="server"></asp:PlaceHolder>
                <cc1:GMap ID="GMap1" runat="server" Height="200px" Width="290px" />                
                <br /><br />
            </div>
            <div id="parempoolne">
                <asp:PlaceHolder ID="PlaceHolderOpenTimes" runat="server"></asp:PlaceHolder>
            </div>
        </div>
        <p style='font-size:16px; margin-top:30px; margin-left:20px; clear:both;'>
            <asp:PlaceHolder ID="MenuPlaceHolder" runat="server"></asp:PlaceHolder>&nbsp;
            <asp:ImageButton runat="Server" ID="ImageButton1" ImageUrl="~/images/Calendar.png" AlternateText="Click here to display calendar" />
            <asp:TextBox ID="HiddenTB" runat="server" Enabled="False" ReadOnly="True"></asp:TextBox>
            <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="HiddenTB" PopupButtonID="ImageButton1" OnClientDateSelectionChanged="goTo" FirstDayOfWeek="Monday" Format="yyyy-MM-dd" CssClass="cal_Theme1" />
        </p>
        
        <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
<%--        <asp:Button ID="btnSalvesta" runat="server" onclick="Button1_Click" 
            Text="Muuda kirjeldus" />
        <br />
        <asp:TextBox ID="tbKohvikuKirjeldus" runat="server" Height="98px" Width="302px"></asp:TextBox>
        <br />
        <asp:Button ID="btnKohvikuKirjeldus" runat="server" 
            onclick="btnKohvikuKirjeldus_Click" Text="Sakvesta" />
<br />--%>
<div></div>
<br /><br /><br />
</div>
</asp:Content>
